﻿using System.Collections.Generic;

namespace AutoDeployForSims.Model.Get10AnalogEnt
{
    public class XHJDSDLDwUploadInfo
    {
        public int Id { get; set; }
        public string XhjName { get; set; }
        public string XhjOrder { get; set; }
        public List<DWLimit> XhjLimitUpperLower { get; set; }
        public List<DWInfo> XhjDWInfo { get; set; }

        public XHJDSDLDwUploadInfo()
        {
        }

        public XHJDSDLDwUploadInfo(int id, string xhjName, string xhjOrder)
        {
            Id = id;
            XhjName = xhjName;
            XhjOrder = xhjOrder;
        }

        public XHJDSDLDwUploadInfo(int id, string xhjName, string xhjOrder, List<DWLimit> xhjLimitUpperLower, List<DWInfo> xhjDWInfo)
        {
            this.Id = id;
            this.XhjName = xhjName;
            this.XhjOrder = xhjOrder;
            this.XhjLimitUpperLower = xhjLimitUpperLower;
            this.XhjDWInfo = xhjDWInfo;
        }

        public override string ToString()
        {
            return "XHJDSDLDwUploadInfo{" +
                    "id=" + Id +
                    ", xhjName='" + XhjName + '\'' +
                    ", xhjOrder='" + XhjOrder + '\'' +
                    ", xhjLimitUpperLower=" + XhjLimitUpperLower +
                    ", xhjDWInfo=" + XhjDWInfo +
                    '}';
        }
    }
}
